﻿using System;
using System.Web;
using System.Web.UI;

namespace ASPNETVN.PORTAL.Masters
{
    public partial class SearchControl : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void btnSearch_Click(object sender, ImageClickEventArgs e)
        {
            Response.Redirect(string.Format("~/Search.aspx?value={0}", HttpUtility.UrlEncode(txtSearchText.Text.Trim())));
        }
    }
}